<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <title>$Title$</title>
</head>
<style>
    *{
        text-align: center;
    }
</style>
<body>
<form  th:action="@{/editBook}"  method="post" >
    <table border="1px" align="center">
    <tr style="display: none">
        <td><label for="bookId">书id:</label></td>
        <td><input type="text" id="bookId" name="bookId" required="required" th:value="${book.bookId}"></td>
    </tr>
    <tr>
        <td><label for="bookName">书名:</label></td>
        <td><input type="text" id="bookName" name="bookName" required="required"  th:value="${book.bookName}"></td>
    </tr>
    <tr>
        <td><label for="bookImage">图片路径</label></td>
        <td><input type="text" id="bookImage" name="bookImage" required="required"  th:value="${book.bookImage}"></td>
    </tr>
    <tr>
        <td><label for="described">描述:</label></td>
        <td><input type="text" id="described" name="described" required="required"  th:value="${book.described}"></td>
    </tr>
    </table>
    <input type="submit" value="保存">
    <input type="button" value="返回" onclick="javascript:history.back(-1);">
</form>
</body>
</html>